Optimal. Leaf size=44 \[ -\frac {16 \cos ^8(a+b x)}{b}+\frac {128 \cos ^{10}(a+b x)}{5 b}-\frac {32 \cos ^{12}(a+b x)}{3 b} \]
[Out]
________________________________________________________________________________________
Rubi [A]
time = 0.05, antiderivative size = 44, normalized size of antiderivative = 1.00, number of steps
used = 5, number of rules used = 4, integrand size = 20, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.200, Rules used = {4373, 2645,
272, 45} \begin {gather*} -\frac {32 \cos ^{12}(a+b x)}{3 b}+\frac {128 \cos ^{10}(a+b x)}{5 b}-\frac {16 \cos ^8(a+b x)}{b} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 45
Rule 272
Rule 2645
Rule 4373
Rubi steps
\begin {align*} \int \csc ^2(a+b x) \sin ^7(2 a+2 b x) \, dx &=128 \int \cos ^7(a+b x) \sin ^5(a+b x) \, dx\\ &=-\frac {128 \text {Subst}\left (\int x^7 \left (1-x^2\right )^2 \, dx,x,\cos (a+b x)\right )}{b}\\ &=-\frac {64 \text {Subst}\left (\int (1-x)^2 x^3 \, dx,x,\cos ^2(a+b x)\right )}{b}\\ &=-\frac {64 \text {Subst}\left (\int \left (x^3-2 x^4+x^5\right ) \, dx,x,\cos ^2(a+b x)\right )}{b}\\ &=-\frac {16 \cos ^8(a+b x)}{b}+\frac {128 \cos ^{10}(a+b x)}{5 b}-\frac {32 \cos ^{12}(a+b x)}{3 b}\\ \end {align*}
________________________________________________________________________________________
Mathematica [A]
time = 0.19, size = 48, normalized size = 1.09 \begin {gather*} \frac {16 \left (20 \sin ^6(a+b x)-45 \sin ^8(a+b x)+36 \sin ^{10}(a+b x)-10 \sin ^{12}(a+b x)\right )}{15 b} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [A]
time = 0.07, size = 53, normalized size = 1.20
method | result | size |
default | \(\frac {-\frac {32 \left (\sin ^{4}\left (x b +a \right )\right ) \left (\cos ^{8}\left (x b +a \right )\right )}{3}-\frac {64 \left (\sin ^{2}\left (x b +a \right )\right ) \left (\cos ^{8}\left (x b +a \right )\right )}{15}-\frac {16 \left (\cos ^{8}\left (x b +a \right )\right )}{15}}{b}\) | \(53\) |
risch | \(-\frac {\cos \left (12 x b +12 a \right )}{192 b}-\frac {\cos \left (10 x b +10 a \right )}{80 b}+\frac {\cos \left (8 x b +8 a \right )}{32 b}+\frac {5 \cos \left (6 x b +6 a \right )}{48 b}-\frac {5 \cos \left (4 x b +4 a \right )}{64 b}-\frac {5 \cos \left (2 x b +2 a \right )}{8 b}\) | \(86\) |
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [A]
time = 0.27, size = 72, normalized size = 1.64 \begin {gather*} -\frac {5 \, \cos \left (12 \, b x + 12 \, a\right ) + 12 \, \cos \left (10 \, b x + 10 \, a\right ) - 30 \, \cos \left (8 \, b x + 8 \, a\right ) - 100 \, \cos \left (6 \, b x + 6 \, a\right ) + 75 \, \cos \left (4 \, b x + 4 \, a\right ) + 600 \, \cos \left (2 \, b x + 2 \, a\right )}{960 \, b} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [A]
time = 4.33, size = 36, normalized size = 0.82 \begin {gather*} -\frac {16 \, {\left (10 \, \cos \left (b x + a\right )^{12} - 24 \, \cos \left (b x + a\right )^{10} + 15 \, \cos \left (b x + a\right )^{8}\right )}}{15 \, b} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [F(-2)]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {Exception raised: SystemError} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [A]
time = 0.43, size = 46, normalized size = 1.05 \begin {gather*} -\frac {16 \, {\left (10 \, \sin \left (b x + a\right )^{12} - 36 \, \sin \left (b x + a\right )^{10} + 45 \, \sin \left (b x + a\right )^{8} - 20 \, \sin \left (b x + a\right )^{6}\right )}}{15 \, b} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Mupad [B]
time = 0.15, size = 35, normalized size = 0.80 \begin {gather*} -\frac {16\,{\cos \left (a+b\,x\right )}^8\,\left (10\,{\cos \left (a+b\,x\right )}^4-24\,{\cos \left (a+b\,x\right )}^2+15\right )}{15\,b} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________